package com.zhongc.advance.info;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description
 * @Version 1.0
 * @Author zhongc
 * @Email zhong_ch@foxmail.com
 * @History <li>Author: zhongc</li>
 * <li>Date: 2015-07-28</li>
 * <li>Version: 1.0</li>
 * <li>Content: create</li>
 */
public class Role implements Serializable{
    private static final long serialVersionUID = -3836051953900595434L;

    /**主键 */
    private Integer roleId;

    /** 角色名称 */
    private String roleName;

    /** 备注 */
    private String note;

    /** 创建时间 */
    private Date createTime;

    /** 备用字段 */
    private String def1;

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName == null ? null : roleName.trim();
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note == null ? null : note.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getDef1() {
        return def1;
    }

    public void setDef1(String def1) {
        this.def1 = def1 == null ? null : def1.trim();
    }
}
